function 缓存() {
	if (!('serviceWorker' in navigator)) {
		alert('Sorry, your browser does not support ServiceWorker!');
		return;
	}
	navigator.serviceWorker.register('/xdi8/sw.js', { scope: '/xdi8/' }).catch((误) => {
		alert('Sorry, an exception happened!\n' + 误);
	})
}
